package day8.Lx2;

public class  channel{

	int[] size =new int[3];
	coin[] coin = new coin[3];
	int i=0;
	channel nextcl;
    public channel( ){
		
	}
	public channel(String type){
		
	}
	public void addcoin(String type){
		coin c= new coin();
		c.type = type;
		coin[i]=c;
		size[i]=i+1;
		i++;
	}
	public channel addNext(channel c){
		nextcl = c;
		return nextcl;
	}
}
